class NameBean {
  NameBean({
      this.key, 
      this.id,});

  NameBean.fromJson(dynamic json) {
    key = json['key'];
    id = json['id'];
  }
  String key;
  int id;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['key'] = key;
    map['id'] = id;
    return map;
  }

}